var express=require('express');

var myRouter=express.Router();

var detailController=require('./../controller/detailController');

/*----------接口名称：陪玩个人资料------------*/
// 	  player
// 参数{ID}
// 方式：post
// 返回值：{error:0,昵称，热度，状态，状态src,头像} 0成功  1失败
myRouter.post('/player',detailController.player);
//关注量
myRouter.post('/guanzhu',detailController.guanzhu);
//点击关注
myRouter.post('/follow',detailController.follow);
//取消关注
myRouter.post('/follow2',detailController.follow2);
//礼物展示
myRouter.post('/lw',detailController.lw);
//游戏种类
myRouter.post('/game',detailController.game);
//接单次数
myRouter.post('/cishu',detailController.cishu);
//评论
myRouter.post('/pl',detailController.pl);
//评论人信息
// myRouter.post('/pl2',detailController.pl2);
//分页
myRouter.post('/getPage',detailController.getPage);
myRouter.post('/getPage2',detailController.getPage2);
//礼物选项卡展示
myRouter.post('/pageLw',detailController.pageLw);
// myRouter.post('/pageLw2',detailController.pageLw2);
//排行榜
myRouter.post('/ranking',detailController.ranking);
<<<<<<< .mine
//赠送礼物
myRouter.post('/lwGive',detailController.lwGive);




//四阶段
myRouter.post('/users',detailController.users);



||||||| .r42
=======
//赠送礼物
myRouter.post('/lwGive',detailController.lwGive);
//



//四阶段
//页面载入时用户名单
myRouter.post('/users',detailController.users);
//搜索
myRouter.post('/search',detailController.search);
//个人消费情况
myRouter.post('/details',detailController.details);
//饼状图
myRouter.post('/cake',detailController.cake);
//折线图
myRouter.post('/polygonal',detailController.polygonal);
//拉入黑名单
myRouter.post('/blacklist',detailController.blacklist);
//分页
// myRouter.post('/userList',detailController.userList);

>>>>>>> .r62
module.exports=myRouter;